*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    font-size: 62.5%;
    height: 100%;
}

button,
input {
    border: 0;
    outline: none;
}

body {
    background-image: -webkit-linear-gradient(45deg, #212e46, #ffffff);
    ;
    background-image: linear-gradient(45deg, #212e46, #ffffff);
}

.hidden-bg-line{
    top:-2;
    left:-2;
    right:-2;
    bottom: -2;
}


.none-bg {
    background-color: rgba(0,0,0,0);
}

.demo {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -26.5rem;
    margin-left: -15rem;
    width: 30rem;
    height: 52rem;
    box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.3);
}

.mini-tool {
    height: 3rem;
    width: 100%;
    bottom: 5.5rem;
    background: #dcdde6;
    left: 0;
    z-index: 100;
    position: absolute;
    display: flex;
}

.tool-item {
    width: 15%;
    text-align: center;
    padding: 6px;
    cursor: pointer;
}

.static {
    height: 100%;
    font-size: 1.8rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    background: linear-gradient(60deg, #ffffff66, #0000007d);
}

.static:before,
.static:after {
    content: "";
    position: absolute;
    left: 7rem;
    width: 2rem;
    height: 2rem;
    margin-left: -1rem;
    margin-top: -1rem;
    border: 2px solid #fff;
    border-left: none;
    border-bottom: none;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: arrows 1.5s infinite;
    animation: arrows 1.5s infinite;
}

.static:before {
    top: 15rem;
}

.static:after {
    top: 35rem;
}

.static__text {
    width: 9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -5rem;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    color: #fff;
    -webkit-perspective: 1px;
    perspective: 1px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.sidebar-content {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    width: 20rem;
    height: 100%;
    padding-top: 1rem;
    opacity: 0;
    -webkit-transition: opacity 200ms, z-index 0s 0s;
    transition: opacity 200ms, z-index 0s 0s;
    background-color: #E9EAF3;
    overflow: hidden;
}

.sidebar-content.active {
    z-index: 2;
    opacity: 1;
}

.friend-list {
    overflow: auto;
    height: 45rem;
}

.sidebar-outside {

    position: fixed;
    height: 42rem;
    width: 19rem;
    top: calc(50% - 24rem);
    box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.3);
    border-radius: 0px 25px 5px 0px;
}
.sidebar-outside-mobile {
    position: fixed;
    height: 42rem;
    width: 5rem;
    top: calc(50% - 24rem);
    box-shadow: 0 1rem 5rem rgba(0, 0, 0, 0.3);
    border-radius: 0px 25px 5px 0px;
    left: -1.5rem;
}

.empty {
    width: 100%;
    height: 100%;
    padding-top: 85%;
    font-family: cursive;
    text-align: center;
    vertical-align: middle;
}

.imgFile {
    width: 100%;
}

.contact {
    position: relative;
    width: 100%;
    height: 5rem;
    padding-left: 1.7rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
}

.contact__photo {
    border-radius: 50%;
    margin-right: 1.5rem;
    width: 3rem;
    height: 3rem;
}

.contact__photo__gray {
    -webkit-filter: grayscale(100%);   
    -moz-filter: grayscale(100%);  
    -ms-filter: grayscale(100%);   
    -o-filter: grayscale(100%);     
    filter: grayscale(100%); 	    
    filter: gray;
}

.contact__name {
    font-size: 1.2rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.contact__status {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.contact__status.online {
    opacity: 1;
    border: 5px solid #50b7f1;
}

.contact__status.mobile {
    right: .15rem;
    top: 1rem;
}

.contact_intro {
    display: none;
}

.search {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5.5rem;
    padding-left: 1.5rem;
    background: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    box-shadow: 2.7px 1px 5px #2E313C
}

svg {
    overflow: visible;
}

.sidebar {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.s-path {
    cursor: -webkit-grab;
    cursor: grab;
}

.send {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 20;
    width: 22%;
    height: 5.5rem;
    color: #f9f9f9;
    background: #579abf;
}

.cloned {
    position: absolute;
    z-index: 1;
    -webkit-transition: top 0.3s, left 0.3s;
    transition: top 0.3s, left 0.3s;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
    -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.cloned.removed {
    -webkit-transition: opacity 0.2s 0;
    transition: opacity 0.2s 0;
    opacity: 0;
}

.chat {
    display: none;
    z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 2.5rem 0 5.5rem 2.5rem;
    -webkit-transition: opacity 200ms;
    transition: opacity 200ms;
    opacity: 0;
}

.time {
    text-align: center;
    color: #5d5d5d9c;
    font-size: 11px;
    line-height: 15px;
}

.chat.active {
    opacity: 1;
}

.chat.active:before {
    width: 100%;
}

.chat:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background: #97acdc;
    width: 0;
    -webkit-transition: width 0.2s;
    transition: width 0.2s;
}

.chat__back {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 3rem;
    margin-top: 0.5rem;
    margin-left: -0.6rem;
}

.chat__back:hover:before {
    -webkit-transform: translateX(-0.3rem) rotate(-45deg);
    -ms-transform: translateX(-0.3rem) rotate(-45deg);
    transform: translateX(-0.3rem) rotate(-45deg);
}

.chat-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5.5rem;
    box-shadow: 3.9px 0.8px 8px #4e5365;
}

.chat__back:before {
    content: "";
    position: absolute;
    display: block;
    top: 0.4rem;
    left: 0.6rem;
    width: 1.2rem;
    height: 1.2rem;
    border: 2px solid #545675;
    border-right: none;
    border-bottom: none;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.chat__status {
    position: absolute;
    top: 1.65rem;
    right: 6.5rem;
    font-size: 1.2rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    color: #B1A9A9;
}

.chat__person {
    display: inline-block;
    position: absolute;
    top: 3rem;
    right: 6.5rem;
    font-size: 2rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #36343D;
}

.chat__online {
    position: absolute;
    top: 50%;
    left: -1.5rem;
    margin-top: -3px;
    width: 8px;
    height: 8px;
    border: 5px solid #50b7f1;
    border-radius: 50%;
    opacity: 0;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.chat__online.active {
    opacity: 1;
}

.contact__status.leave {
    opacity: 1;
    border: 5px solid #b8c2c5;
}

.contact__status.offline {
    opacity: 1;
    border: 5px solid #b8c2c5;
}

.chat__messages {
    scrollbar-width: none;
    position: absolute;
    top: 7.5rem;
    left: 1.5rem;
    width: 28.5rem;
    height: 36rem;
    padding-right: 1.5rem;
    overflow-y: auto;
}

.chat__msgRow {
    margin-bottom: 0.8rem;
    word-break: break-word;
}

.chat__msgRow:after {
    content: "";
    display: table;
    clear: both;
}

.chat__message {
    display: inline-block;
    max-width: 70%;
    padding: 1rem;
    font-size: 1.4rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    word-break: break-all;
}

.chat__message.mine {
    color: #2B2342;
    border: 0.5px solid #DFDFDF;
    border-radius: 8px;
}

.chat__message.notMine {
    float: right;
    color: #23244E;
    background: #E9EAF3;
    border-radius: 6px;
}

.chat__input {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 78%;
    height: 5.5rem;
    padding: 1rem 1rem 1rem 3rem;
    background-repeat: no-repeat;
    background-position: 1rem 1.5rem;
    background-color: #E9EAF3;
    color: #2B2342;
    font-size: 1.5rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.user_info {
    position: fixed;
    width: 20%;
    top: 20%;
    right: 2.5rem;
    z-index: 999;
}

.ripple-contact {
    position: absolute;
    width: 10rem;
    height: 10rem;
    margin-left: -5rem;
    margin-top: -5rem;
    background: rgba(0, 0, 0, 0.4);
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation: animRipple 0.3s;
    animation: animRipple 0.3s;
    border-radius: 50%;
}

.profile {
    text-align: center;
    position: relative;
    top: 20px;
    z-index: 3;
    padding-bottom: 0.5rem;
}

.profile img {
    background-color: #eee;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 2px;
}

.chat__messages::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.chat__messages::-webkit-scrollbar-button {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar-track-piece {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar-corner {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar-resizer {
    background-color: rgba(0, 0, 0, 0);
}

.chat__messages::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.chat-common-left{
    line-height: 1.5rem;
    font-size: 1rem;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    margin-left: 3.7rem;
}

@-webkit-keyframes animRipple {
    to {
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes animRipple {
    to {
        -webkit-transform: scale(2.5);
        transform: scale(2.5);
        opacity: 0;
    }
}

@-webkit-keyframes arrows {
    to {
        -webkit-transform: translateX(100%) rotate(45deg);
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}

@keyframes arrows {
    to {
        -webkit-transform: translateX(100%) rotate(45deg);
        transform: translateX(100%) rotate(45deg);
        opacity: 0;
    }
}